<!DOCTYPE html>
<html lang="zh-cmn-Hans">
	<head>
		<meta charset="UTF-8">
		<meta http-equiv="X-UA-Compatible" content="ie=edge" />
		<title>鹿程智慧油站商户平台</title>
		<meta name="description" content="鹿程科技是提供加油站互联网化零管系统、营销及支付和大数据分析运营服务的行业领先科技公司。鹿程科技充分了解加油站行业的需求和新兴互联网的发展,依靠业内最先进的科技和标准化的运营,持续帮助油站业务发展创造价值。"/>
		<meta name="keywords" content="智慧油站,鹿程,鹿程智慧油站,鹿程智慧油站微信支付,加油站微信支付,加油站营销管理"/>
		<link rel="icon" href="https://static.zhihuiyouzhan.com.cn/static/styles/admin/img/title.ico" type="image/x-icon">
		<link rel="shortcut icon" href="https://static.zhihuiyouzhan.com.cn/static/styles/admin/img/title.ico" type="image/x-icon">
		<link href="//netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
		<link rel="stylesheet" href="../layui/css/layui.css" />
		<link rel="stylesheet" href="../css/style.css" />
	</head>
<body>
	<section class="section-right">
		<!--deer-tit-->
		<div class="deer-tit">
			<h3>营销券</h3>
			<h4>概览</h4>
		</div>
		<!--/deer-tit-->
		<!--deer-content-->
		<div class="deer-content">
			<div class="gas-border">
				<nav class="gas-nav">
					<dl class="active" day="1">今天</dl>
					<dl day="7">最近7天</dl>
					<dl day="30">最近30天</dl>
					<dl><input name="search_time" class="gas-text" type="text" placeholder="查询时间" id="search_time" value="" lay-key="1"></dl>
				</nav>
				<h3>统计合计: <code>注：领取成本=券额*券数量 营销成本=券额*使用数量</code></h3>
				<div class="card-num">
					<dl>
						<dt>领取数量（张）</dt>
						<dd>4</dd>
					</dl>
					<dl>
						<dt>领取成本（元）</dt>
						<dd>4</dd>
					</dl>
					<dl>
						<dt>使用数量（张）</dt>
						<dd>4</dd>
					</dl>
					<dl>
						<dt>营销成本（元）</dt>
						<dd>4</dd>
					</dl>
				</div>
				<!--marke-trted-->
				<div class="marke-trted">
					<dl class="active">抵用券成本趋势图</dl>
					<dl>抵用券数量趋势图</dl>
				</div>
				<!--/marke-trted-->
		        <div class="echarts_box" id="main"></div>
		        <!--table-->
				<table class="layui-table buyer-table-member" lay-size='lg' lay-skin="line">
					<thead id="thead" class="fina-scroll-thead">
						<tr>
							<th>时间\类型</th>
							<th>领取数量（张）</th>
							<th>领取成本（元）</th>
							<th>使用数量（张）</th>
							<th>营销成本（元）</th>
						</tr>
					</thead>
					<tbody id='tbody'>
						<tr>
							<td>2018-03-25</td>
							<td>1</td>
							<td>￥1</td>
							<td>2</td>
							<td>￥0</td>
						</tr>
					</tbody>
				</table>
				<!--/table-->
			</div>
		</div>
		<!--/deer-content-->
	</section>
	<!--js-->
		<aside>
			<script type="text/javascript" src="../layui/layui.js" ></script>
			<script type="text/javascript" src="../js/echarts.min.js" ></script>
			<script type="text/javascript">
				layui.use(['laydate','jquery'],function(){
					var $=layui.jquery
					var laydate=layui.laydate;
						laydate.render({
				        elem: '#search_time', //指定元素
				        range: '/',
				    });
				    //gas-nav样式切换
				    $('.gas-nav>dl').bind('click',function(){
				    	$(this).addClass('active').siblings().removeClass('active')
				    })
				    //marke-trted
				    $('.marke-trted>dl').bind('click',function(){
				    	$(this).addClass('active').siblings().removeClass('active')
				    })
				})
				
 				    //eChart配置 折线图
			    var myChart = echarts.init(document.getElementById('main'));
			    option = {
			        title: {
			            text: '',
			            left:'2%'
			        },
			        tooltip: {
			            trigger: 'axis'
			        },
			        legend: {
			            data:['领取成本', '营销中心']
			        },
			        grid: {
			            left: '3%',
			            right: '5%',
			            bottom: '3%',
			            containLabel: true
			        },
			        toolbox: {
			            left: '95%',
			            feature: {
			                saveAsImage: {}
			            }
			        },
			        xAxis: {
			            type: 'category',
			            boundaryGap: false,
			            data:['2018-01-06','2018-01-07']
			        },
			        yAxis: {
			            type: 'value'
			        },
			        series: [
			        {name:"领取成本",type:"line",stack:"null",data:[2,4]},
			        {name:"营销中心",type:"line",stack:"null",data:[2,4]},
			        
			        ]    };
			    // 使用刚指定的配置项和数据显示图表。
			    myChart.setOption(option);
			</script>
		</aside>
		<!--/js-->
</body>
</html>